import request from "@/utils/request";

export default {

  getAreaOfShangHai() {
    return request({
      url: '/areas/getAreas',
      method: 'get'
    })
  },
  getStreetByArea(code) {
    return request({
      url: `/streets/getStreetsByArea?code=${code}`,
      method: 'get'
    })
  }


}
